/*
 *************************************************************************
 *西瑞克斯通信技术股份有限公司研发管理系统
s *版 本: 1.0   
 *日 期：02/05/2012    
 *作 者： 王浩 QQ:873987060   
 *************************************************************************   
 */

package com.application.yfproject.struts.form;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import java.util.List;
import com.manager.commons.StringUtil;
import com.application.yfproject.entity.YfProject;
import java.util.Date;

/**
 * Description: YfProjectForm Struts Action Form<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: Code Generator <br />
 * 
 * History: <br />
 * 
 * 02/05/2012 王浩
 * 
 */
public class YfProjectForm extends ActionForm {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfProjectForm() {

	}

	private String id;

	private String projectName;

	private String projectType;

	private String projectOrg;

	private String projectNo;

	private String initiatePerson;

	private Long initiateYear;

	private String operateid;

	private Date createDate;

	private String ids;
    
	private String projectManager;
	
	private String oid;
	
	private String org;
	
	private Long nodeStatus;
	
	private String nodeName;
	
	private String queryType;
	
	private int type;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getOrg() {
		return org;
	}

	public void setOrg(String org) {
		this.org = org;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	/**
	 * @return Returns the Id
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return Returns the ProjectName
	 */
	public String getProjectName() {
		return this.projectName;
	}

	/**
	 * @param projectName
	 *            Set the projectName.
	 */
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	/**
	 * @return Returns the ProjectType
	 */
	public String getProjectType() {
		return this.projectType;
	}

	/**
	 * @param projectType
	 *            Set the projectType.
	 */
	public void setProjectType(String projectType) {
		this.projectType = projectType;
	}

	/**
	 * @return Returns the ProjectOrg
	 */
	public String getProjectOrg() {
		return this.projectOrg;
	}

	/**
	 * @param projectOrg
	 *            Set the projectOrg.
	 */
	public void setProjectOrg(String projectOrg) {
		this.projectOrg = projectOrg;
	}

	/**
	 * @return Returns the ProjectNo
	 */
	public String getProjectNo() {
		return this.projectNo;
	}

	/**
	 * @param projectNo
	 *            Set the projectNo.
	 */
	public void setProjectNo(String projectNo) {
		this.projectNo = projectNo;
	}

	/**
	 * @return Returns the InitiatePerson
	 */
	public String getInitiatePerson() {
		return this.initiatePerson;
	}

	/**
	 * @param initiatePerson
	 *            Set the initiatePerson.
	 */
	public void setInitiatePerson(String initiatePerson) {
		this.initiatePerson = initiatePerson;
	}

	/**
	 * @return Returns the InitiateYear
	 */
	public Long getInitiateYear() {
		return this.initiateYear;
	}

	/**
	 * @param initiateYear
	 *            Set the initiateYear.
	 */
	public void setInitiateYear(Long initiateYear) {
		this.initiateYear = initiateYear;
	}

	/**
	 * @return Returns the Operateid
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * @return Returns the CreateDate
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	private List<YfProject> yfProjectList;

	/**
	 * @return the yfprojectformList
	 */
	public List<YfProject> getYfProjectList() {
		return yfProjectList;
	}

	/**
	 * @param yfProjectList
	 *            the yfprojectformList to set
	 */
	public void setYfProjectList(List<YfProject> yfProjectList) {
		this.yfProjectList = yfProjectList;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	/**
	 * Method validate
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Method reset
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getProjectManager() {
		return projectManager;
	}

	public void setProjectManager(String projectManager) {
		this.projectManager = projectManager;
	}

	public Long getNodeStatus() {
		return nodeStatus;
	}

	public void setNodeStatus(Long nodeStatus) {
		this.nodeStatus = nodeStatus;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public String getQueryType() {
		return queryType;
	}

	public void setQueryType(String queryType) {
		this.queryType = queryType;
	}
}
